import 'package:permission_handler/permission_handler.dart';
///    author : leo
///    e-mail : jkliao@yeah.net
///    date   : 2020-05-07
///    desc   :
class PermissionHandler {

  requestPermissions(Map<Permission, PermissionStatus> params) async {
    if (null != params && params.isNotEmpty) {
      await [
        Permission.location,
        Permission.storage,
      ].request();
    }
  }
}